/**
 * Created by kangdaye on 16/6/5.
 */
app.controller('employeeNumCtr',["$scope","$stateParams","employeeService", function($scope,$stateParams,employeeService) {
    $scope.listData = {};
    $scope.getData = angular.extend({
        pageNo : 1,
        pageSize : 10
    },$stateParams);

    $scope.getListDataFn = function(){
        employeeService.orders($scope.getData,function(data){
            $scope.listData = data.data;
        });
    };

    $scope.getListDataFn();
}]);
